package com.ease.integration.hellobuddy.service.impl;

import javax.jws.WebService;

import com.ease.business.hellobuddy.service.HelloBuddyService;
import com.ease.business.hellobuddy.vo.Buddy;
import com.ease.integration.constant.TargetNamespace;

@WebService(endpointInterface = "com.ease.business.hellobuddy.service.HelloBuddyService", targetNamespace = TargetNamespace.NAMESPACE)
public class HelloBuddySoapServiceImpl implements HelloBuddyService {

	private HelloBuddyService helloBuddyService;

	public Buddy helloBuddy(Buddy buddy) {
		return helloBuddyService.helloBuddy(buddy);
	}

	public String helloWorld(String name) {
		return helloBuddyService.helloWorld(name);
	}

	/**
	 * @return the helloBuddyService
	 */
	public HelloBuddyService getHelloBuddyService() {
		return helloBuddyService;
	}

	/**
	 * @param helloBuddyService
	 *            the helloBuddyService to set
	 */
	public void setHelloBuddyService(HelloBuddyService helloBuddyService) {
		this.helloBuddyService = helloBuddyService;
	}

}
